CUW\App\Helpers\WC D

Total Complexity 281
Dependencies 8
Dependents 26
Total lines 1,080
Lines of code 557
Logical lines of code 332
Comment lines 397
Methods 61
Properties 0

Methods 61

Method Rating Maintainability Complexity Lines of code
is()
C
47 28 28
getTaxonomyName()
A
50 16 28
formatPriceRaw()
A
53 10 19
isPurchasableProduct()
A
57 10 16
getProductTitle()
A
56 9 16
getPageUrl()
A
59 9 13
getCustomerBillingEmail()
A
58 9 13
replaceCartItem()
A
51 8 25
getCurrentEndpoint()
S
58 8 14
addToOrder()
S
59 8 12
getDefaultVariationId()
S
54 7 21
getCartSubtotal()
S
62 7 10
getPriceToDisplay()
S
62 6 10
getOrder()
S
66 5 8
removeCartCoupon()
S
63 5 10
applyCartCoupon()
S
63 5 10
getProduct()
S
66 5 8
setCartItemPrice()
S
64 5 9
getSession()
S
69 4 6
getFormattedVariationInfo()
S
63 4 9
getOrderItems()
S
64 4 10
setSession()
S
67 4 7
getVariationIdByAttributes()
S
67 3 7
formatPriceHtmlRaw()
S
69 3 6
getVariationAttributes()
S
67 3 7
getProductImage()
S
67 3 7
getProductAttributes()
S
67 3 7
getProductTagIds()
S
67 3 7
getProductSku()
S
67 3 7
getProductStockQty()
S
67 3 7
declareFeatureCompatibility()
S
66 3 8
isVariableProduct()
S
67 3 8
isProductType()
S
67 3 7
getProductType()
S
67 3 7
customOrdersTableIsEnabled()
S
66 3 8
getProductCategoryIds()
S
67 3 7
setCartItemQty()
S
67 3 7
isBackordersAllowedProduct()
S
67 3 7
get()
S
67 3 8
getCart()
S
70 3 6
getCartItems()
S
68 3 7
getProductChildrenIds()
S
67 3 7
addToCart()
S
67 3 7
removeCartItem()
S
67 3 7
getCartItem()
S
67 3 7
getAppliedCouponsInCart()
S
68 3 7
getParentOrder()
S
67 3 7
getAppliedCouponsInOrder()
S
67 3 7
getProductParentId()
S
67 3 7
isCouponExists()
S
67 2 7
getOrderStatuses()
S
78 2 3
formatPrice()
S
70 2 6
getDisplayTaxSettingByPage()
S
77 2 3
formatSalePrice()
S
69 2 6
formatPriceRange()
S
69 2 6
getCurrency()
S
71 2 6
getCurrencySymbol()
S
71 2 6
displayPricesIncludingTax()
S
76 2 3
addNotice()
S
68 2 7
getNotice()
S
70 2 6
printNotice()
S
72 2 5